package com.dt76.smallloanbackenduser.remote.xm;

import com.dt76.smallloanbackenduser.hystrix.xm.HLoanProductsHystrix;
import com.dt76.smallloanbackenduser.pojo.xm.HLoanProducts;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "smallloan-backend-service",fallback = HLoanProductsHystrix.class)
public interface HLoanProductsRemote {

    @RequestMapping("/xm/HLoanProducts/qryAllHLoanProduct")
    List<HLoanProducts> qryAllHLoanProduct();
}
